package org.crud4j.core;

/**
 * This exception is thrown when a value doesn't pass the validation associated
 * to a field
 */
public class InvalidValueException extends Exception {

	private String field;

	private String value;

	private Class type;

	public InvalidValueException(String field, String value, Class type) {
		super();
		this.field = field;
		this.value = value;
		this.type = type;
	}

}
